{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">编辑竞拍规则</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/coin_rule/save')}" method="post">

                    <input type="hidden" name="id" value="{$coin_rule.id}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">拍币</label>
                        <div class="layui-input-inline">
                            <input type="text" name="coin" value="{$coin_rule.coin}" required lay-verify="required"
                                   placeholder="请输入加价幅度" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">拍币对应金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="coin_to_money" value="{$coin_rule.coin_to_money}" required lay-verify="required"
                                   placeholder="请输入市场价" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>


{/block}
{block name="js"}
<script src="__JS__/ueditor/ueditor.config.js"></script>
<script src="__JS__/ueditor/ueditor.all.min.js"></script>
{/block}
{block name="script"}


<script>

</script>
{/block}